package hcn.protocol.ods.stopRegPlan;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * @ProjectName: common-proxy
 * @Package: his.bean.request
 * @ClassName: ConsultationFinallySubmitRequest
 * @Author: Jerash
 * @Description: 门办处理操作
 * @Date: 2021/11/19 10:59
 * @Version: 1.0
 */
@XmlRootElement(name = "MsgBody")
public class StopRegPlanDealReq {
    //机构id
    private String visitOrganization;
    //停诊医生id
    private String doctorId;
    //停诊科室id
    private String departmentId;
    //申请停诊类型 1:按次停诊2:连续停诊
    private String batchType;
    //1:指令原因   2:个人原因
    private String applyCauseType;
    //停诊原因内容描述
    private String applyCauseRemark;
    //操作审核门办医生名称
    private String checkDoctorName;
    //操作审核门办医生工号
    private String checkDoctorId;
    //停诊批次列表
    private List<BatchList> batchList;

    @XmlElement(name = "VisitOrganization")
    public String getVisitOrganization() {
        return visitOrganization;
    }

    public void setVisitOrganization(String visitOrganization) {
        this.visitOrganization = visitOrganization;
    }

    @XmlElement(name = "DoctorId")
    public String getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(String doctorId) {
        this.doctorId = doctorId;
    }

    @XmlElement(name = "DeptCode")
    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    @XmlElement(name = "BatchType")
    public String getBatchType() {
        return batchType;
    }

    public void setBatchType(String batchType) {
        this.batchType = batchType;
    }

    @XmlElement(name = "ApplyCauseType")
    public String getApplyCauseType() {
        return applyCauseType;
    }

    public void setApplyCauseType(String applyCauseType) {
        this.applyCauseType = applyCauseType;
    }

    @XmlElement(name = "ApplyCauseRemark")
    public String getApplyCauseRemark() {
        return applyCauseRemark;
    }

    public void setApplyCauseRemark(String applyCauseRemark) {
        this.applyCauseRemark = applyCauseRemark;
    }

    @XmlElement(name = "CheckDoctorName")
    public String getCheckDoctorName() {
        return checkDoctorName;
    }

    public void setCheckDoctorName(String checkDoctorName) {
        this.checkDoctorName = checkDoctorName;
    }

    @XmlElement(name = "CheckDoctorId")
    public String getCheckDoctorId() {
        return checkDoctorId;
    }

    public void setCheckDoctorId(String checkDoctorId) {
        this.checkDoctorId = checkDoctorId;
    }


    @XmlElementWrapper(name = "BatchLists")
    @XmlElement(name = "BatchList")
    public List<BatchList> getBatchList() {
        return batchList;
    }

    public void setBatchList(List<BatchList> batchList) {
        this.batchList = batchList;
    }

    public static class BatchList {
        private String stopWorkDate;
        //停诊起始日期时间 若是连续停诊必填
        private String stopWorkDateBegin;
        //停诊结束日期时间 若是连续停诊必填
        private String stopWorkDateEnd;
        //停诊挂号科室id 若是连续停诊必填
        private String workDeptId;

        //停诊班次id  如果按班次查必填
        private String workId;
        private String doctorDutyType;

        //替诊医生id   若有替诊医生必填
        private String replaceDoctorId;
        private String replaceDeptId;


        @XmlElement(name = "SystemAppointmentDateTime")
        public String getStopWorkDate() {
            return stopWorkDate;
        }

        public void setStopWorkDate(String stopWorkDate) {
            this.stopWorkDate = stopWorkDate;
        }

        @XmlElement(name = "ResourceStartDateTime")
        public String getStopWorkDateBegin() {
            return stopWorkDateBegin;
        }

        public void setStopWorkDateBegin(String stopWorkDateBegin) {
            this.stopWorkDateBegin = stopWorkDateBegin;
        }

        @XmlElement(name = "ResourceEndDateTime")
        public String getStopWorkDateEnd() {
            return stopWorkDateEnd;
        }

        public void setStopWorkDateEnd(String stopWorkDateEnd) {
            this.stopWorkDateEnd = stopWorkDateEnd;
        }

        @XmlElement(name = "WorkDeptId")
        public String getWorkDeptId() {
            return workDeptId;
        }

        public void setWorkDeptId(String workDeptId) {
            this.workDeptId = workDeptId;
        }

        @XmlElement(name = "ScheduleMark")
        public String getWorkId() {
            return workId;
        }

        public void setWorkId(String workId) {
            this.workId = workId;
        }

        @XmlElement(name = "ReplaceDoctorId")
        public String getReplaceDoctorId() {
            return replaceDoctorId;
        }

        public void setReplaceDoctorId(String replaceDoctorId) {
            this.replaceDoctorId = replaceDoctorId;
        }

        @XmlElement(name = "ReplaceDeptId")
        public String getReplaceDeptId() {
            return replaceDeptId;
        }

        public void setReplaceDeptId(String replaceDeptId) {
            this.replaceDeptId = replaceDeptId;
        }

        @XmlElement(name = "DoctorDutyType")
        public String getDoctorDutyType() {
            return doctorDutyType;
        }

        public void setDoctorDutyType(String doctorDutyType) {
            this.doctorDutyType = doctorDutyType;
        }
    }


}
